package com.songcha.library_base.interfaces

import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent

interface IAppLifecycle : LifecycleObserver {
    @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
    fun onAppBackGround(){

    }

    @OnLifecycleEvent(Lifecycle.Event.ON_START)
    fun onAppForeGround(){

    }
}